package com.seckill.service.impl;

import com.seckill.domain.ProductSku;
import com.seckill.mapper.ProductSkuMapper;
import com.seckill.service.ProductSkuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class ProductSkuServiceImpl implements ProductSkuService {
    @Autowired
    private ProductSkuMapper productSkuMapper;

    @Override
    public List<ProductSku> getSkuListByProductId(Long productId) {
        return productSkuMapper.selectByProductId(productId);
    }
} 